package com.core.zyyz.pcmc.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 组织架构对象 pcmc_org
 *
 * @author core
 * @date 2024-10-17
 */
public class PcmcOrg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组织关系编码 */
    private String orgCode;

    /** 组织关系名称 */
    @Excel(name = "组织关系名称")
    private String orgName;

    /** 是否默认关系 */
    @Excel(name = "是否默认关系")
    private String isDefault;

    /** 标准-说明 */
    @Excel(name = "标准-说明")
    private String DESCRIPTION;

    /** 标准-是否启用 */
    @Excel(name = "标准-是否启用")
    private String isEnabled;

    /** 标准-自 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标准-自", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDateActive;

    /** 标准-至 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标准-至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDateActive;

    /** 标准-创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标准-创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 标准-最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标准-最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 标准-最后更新用户 */
    @Excel(name = "标准-最后更新用户")
    private String lastUpdateBy;

    public void setOrgCode(String orgCode)
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode()
    {
        return orgCode;
    }
    public void setOrgName(String orgName)
    {
        this.orgName = orgName;
    }

    public String getOrgName()
    {
        return orgName;
    }
    public void setIsDefault(String isDefault)
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault()
    {
        return isDefault;
    }
    public void setDESCRIPTION(String DESCRIPTION)
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION()
    {
        return DESCRIPTION;
    }
    public void setIsEnabled(String isEnabled)
    {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled()
    {
        return isEnabled;
    }
    public void setStartDateActive(Date startDateActive)
    {
        this.startDateActive = startDateActive;
    }

    public Date getStartDateActive()
    {
        return startDateActive;
    }
    public void setEndDateActive(Date endDateActive)
    {
        this.endDateActive = endDateActive;
    }

    public Date getEndDateActive()
    {
        return endDateActive;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate)
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate()
    {
        return lastUpdateDate;
    }
    public void setLastUpdateBy(String lastUpdateBy)
    {
        this.lastUpdateBy = lastUpdateBy;
    }

    public String getLastUpdateBy()
    {
        return lastUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orgCode", getOrgCode())
                .append("orgName", getOrgName())
                .append("isDefault", getIsDefault())
                .append("DESCRIPTION", getDESCRIPTION())
                .append("isEnabled", getIsEnabled())
                .append("startDateActive", getStartDateActive())
                .append("endDateActive", getEndDateActive())
                .append("createDate", getCreateDate())
                .append("createBy", getCreateBy())
                .append("lastUpdateDate", getLastUpdateDate())
                .append("lastUpdateBy", getLastUpdateBy())
                .toString();
    }
}
